package com.cloud.api.domain.user;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
@Data
@Schema(description = "标记用户")
public class MarkUser implements Serializable {

    @Schema(description = "用户id")
    @NotEmpty(message = "{validation.common.id}")
    private String userId;

    @Schema(description = "标记")
    @NotNull(message = "{validation.user.mark}")
    private Boolean flag;
}
